package net.lab1024.sa.admin.module.business.amount.dao;

import java.util.List;
import net.lab1024.sa.admin.module.business.amount.domain.entity.AmountEntity;
import net.lab1024.sa.admin.module.business.amount.domain.form.AmountQueryForm;
import net.lab1024.sa.admin.module.business.amount.domain.vo.AmountVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

/**
 * 钱包表 Dao
 *
 * @Author syf
 * @Date 2025-05-29 15:15:31
 * @Copyright 畅想科技
 */

@Mapper
@Component
public interface AmountDao extends BaseMapper<AmountEntity> {

    /**
     * 分页 查询
     *
     * @param page
     * @param queryForm
     * @return
     */
    List<AmountVO> queryPage(Page page, @Param("queryForm") AmountQueryForm queryForm);


    void updateByUserId(@Param("amountEntity")AmountEntity amountEntity);
}
